package cn.kgc.mapper;
import cn.kgc.pojo.DmOrderLinkUser;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DmOrderLinkUserMapper {

//根据id获取表数据
public DmOrderLinkUser getDmOrderLinkUserById(@Param(value = "id") Long id)throws Exception;

//多条件查询获取表中的数据,返回满足条件的一条或多条数据
public List<DmOrderLinkUser>    getDmOrderLinkUserListByMap(Map
<String,Object> param)throws Exception;

//多条件获取满足条件的总记录数据
public Integer getDmOrderLinkUserCountByMap(Map
<String,Object> param)throws Exception;

//插入数据表
public Integer insertDmOrderLinkUser(DmOrderLinkUser dmOrderLinkUser)throws Exception;

//修改数据表
public Integer updateDmOrderLinkUser(DmOrderLinkUser dmOrderLinkUser)throws Exception;

//删除数据表
public Integer deleteDmOrderLinkUserById(@Param(value = "id") Long id)throws Exception;

}